/**
 * 核心管理对象
 */
import {createStore, applyMiddleware} from 'redux'
import thunk from 'redux-thunk'
import {composeWithDevTools} from 'redux-devtools-extension'

import reducer from './reducer.js'

// 向外暴漏store对象
export default createStore(reducer, composeWithDevTools(applyMiddleware(thunk)))